package com.zy.leaderSide.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zy.leaderSide.entity.Leader;

/**
 * @author qu
 */
public interface ILeaderService extends IService<Leader> {

    /**
     * 根据领导的编号和密码进行查询
     *
     * @param leaderNum
     * @param leaderPassword
     * @return Leader
     */
    Leader leaderLogin(Integer leaderNum, String leaderPassword);

    /**
     * 根据领导编号查重
     *
     * @param leaderNum
     * @return Leader
     */
    Leader getLeaderById(Integer leaderNum);
}
